package com.csp.app.service;

import com.csp.app.client.ServiceClient;
import com.csp.app.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService {
    @Autowired
    private ServiceClient serviceClient;

    public Admin login(Admin admin) {
        return serviceClient.login(admin);
    }
}
